var fs=require('fs');
var files=['a.txt','c.txt','b.txt'];

for (var i = 0; i < files.length; i++) {
	console.log("i 's value is :"+i);

	fs.readFile(__dirname+'/'+files[i],'utf-8',function (err,contents) {
		console.log(files[i] +':' + contents);
	});
}
 
